package com.huazhen.itrip.biz.service.userlinkuser;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huazhen.itrip.beans.pojo.ItripUserLinkUser;
import com.huazhen.itrip.dao.userlinkuser.ItripUserLinkUserMapper;
@Service("itripUserLinkUserService")
public class ItripUserLinkUserServiceImpl implements ItripUserLinkUserService {
	@Autowired
	private ItripUserLinkUserMapper itripUserLinkUserMapper;
	@Override
	public ItripUserLinkUser getItripUserLinkUserById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.getItripUserLinkUserById(id);
	}

	@Override
	public List<ItripUserLinkUser> getItripUserLinkUserByUserId(Long userId) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.getItripUserLinkUserByUserId(userId);
	}

	@Override
	public List<ItripUserLinkUser> getItripUserLinkUserListByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.getItripUserLinkUserListByMap(param);
	}

	@Override
	public Integer getItripUserLinkUserCountByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.getItripUserLinkUserCountByMap(param);
	}

	@Override
	public Integer insertItripUserLinkUser(ItripUserLinkUser itripUserLinkUser) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.insertItripUserLinkUser(itripUserLinkUser);
	}

	@Override
	public Integer updateItripUserLinkUser(ItripUserLinkUser itripUserLinkUser) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.updateItripUserLinkUser(itripUserLinkUser);
	}

	@Override
	public Integer deleteItripUserLinkUserByIds(Long[] ids) throws Exception {
		// TODO Auto-generated method stub
		return itripUserLinkUserMapper.deleteItripUserLinkUserByIds(ids);
	}

}
